import { ApiProperty } from '@nestjs/swagger';
import { IsNumber, Min, Max, IsString, IsOptional, IsDefined } from 'class-validator';
import { PaginationDto } from '@common/dto/pagination.dto'
export class GetUserDto extends PaginationDto {
  @ApiProperty({ required: false, description: '用户名', example: '' })
  @IsOptional()
  @IsString()
  username?: string;

  @ApiProperty({ required: false, description: '邮箱', example: '' })
  @IsOptional()
  @IsString()
  email?: string;
} 